package com.xywh.micro_warehousing.mvp.ui.entity;

import java.util.List;

/**
 * @author 小星 QQ:753940262
 * @class describe
 * @time 2019/11/13 0013 12:33
 */
public class Material {


    /**
     * Code : 200
     * Message : 获取预订成功！
     * Data : [{"MId":1,"Mbm":"123","Material":"A4纸","MNum":1,"Unit":null,"CounterId":2232}]
     */

    private int Code;
    private String Message;
    private List<DataBean> Data;

    public int getCode() {
        return Code;
    }

    public void setCode(int Code) {
        this.Code = Code;
    }

    public String getMessage() {
        return Message;
    }

    public void setMessage(String Message) {
        this.Message = Message;
    }

    public List<DataBean> getData() {
        return Data;
    }

    public void setData(List<DataBean> Data) {
        this.Data = Data;
    }

    public static class DataBean {
        /**
         * MId : 1
         * Mbm : 123
         * Material : A4纸
         * MNum : 1
         * Unit : null
         * CounterId : 2232
         */

        private int MId;
        private String Mbm;
        private String Material;
        private String CounterAdd;
        private int MNum;
        private String Unit;
        private int CounterId;

        public String getCounterAdd() {
            return CounterAdd == null ? "" : CounterAdd;
        }

        public void setCounterAdd(String counterAdd) {
            CounterAdd = counterAdd == null ? "" : counterAdd;
        }

        public int getMId() {
            return MId;
        }

        public void setMId(int MId) {
            this.MId = MId;
        }

        public String getMbm() {
            return Mbm;
        }

        public void setMbm(String Mbm) {
            this.Mbm = Mbm;
        }

        public String getMaterial() {
            return Material;
        }

        public void setMaterial(String Material) {
            this.Material = Material;
        }

        public int getMNum() {
            return MNum;
        }

        public void setMNum(int MNum) {
            this.MNum = MNum;
        }

        public String getUnit() {
            return Unit;
        }

        public void setUnit(String Unit) {
            this.Unit = Unit;
        }

        public int getCounterId() {
            return CounterId;
        }

        public void setCounterId(int CounterId) {
            this.CounterId = CounterId;
        }
    }
}
